package com.example.backend.model;

import com.example.backend.entity.Post;
import com.example.backend.entity.Sign;
import com.fasterxml.jackson.annotation.JsonProperty;

import java.util.List;

public class SignModel extends BaseModel{
    @JsonProperty("data")
    List<Sign> data;

    public SignModel(int code,String result,List<Sign> signs){
        this.code=code;
        this.result=result;
        this.count=signs.size();
        this.data=signs;
    }
    public SignModel(int code,String result){
        this.code=code;
        this.result=result;
    }
}
